package com.kyriec.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kyriec.entity.Types;
import com.kyriec.mapper.TypesMapper;
import com.kyriec.service.TypesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 分类(Types)表服务实现类
 *
 * @author KyrieC
 * @since 2023-11-26 14:23:54
 */
@Service("typesService")
public class TypesServiceImpl extends ServiceImpl<TypesMapper, Types> implements TypesService {

    @Autowired
    private TypesMapper typesMapper;

    @Override
    public List<Types> findAllTypes() {
        return typesMapper.selectList(null);
    }

}

